package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.KsdOrderDetail;

public interface KsdOrderDetailService {

	List<KsdOrderDetail> find();

	int findCount();

	KsdOrderDetail findById(Long id);

	int save(KsdOrderDetail ksdOrderDetail);

	int update(KsdOrderDetail ksdOrderDetail);

	int saveOrUpdate(KsdOrderDetail ksdOrderDetail);

	ResultSet<KsdOrderDetail> search(QueryInfo queryInfo, String q);

	int saveDetailBatch(List<KsdOrderDetail> details);

	List<KsdOrderDetail> findByOrderId(Long orderId);

}
